package com.molichuxing.services.infrastructure.service;

import java.util.List;

import com.molichuxing.framework.service.RootService;
import com.molichuxing.services.infrastructure.dto.request.modify.RiskEmailModifyDto;
import com.molichuxing.services.infrastructure.dto.response.RiskEmailDto;

public interface RiskEmailService extends RootService{

	/**
	 * 根据类型 和 接收类型 查询数据
	 * @param type
	 * @param receiveType
	 * @return
	 */
	List<RiskEmailDto> getByType(Integer type,Integer receiveType);
	
	/**
	 * 修改消息类型
	 * @param list
	 * @return
	 */
	Boolean modify(List<RiskEmailModifyDto> list);
}
